export function fullLoading(vm) {
    let loading = vm.$loading({
        lock: true,
        text: 'Loading',
        spinner: 'el-icon-loading',
        background: 'rgba(0, 0, 0, 0.7)'
    });

    setTimeout(() => {
        loading.close(); // 关闭Loading
    }, 60000);
    return loading;
}

export function isEmpty(obj) {
    if (obj == null || obj == "" || obj == undefined) {
        return true;
    } else {
        return false;
    }
}
